package com.tsing.cedap.rest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author TheTsing
 * @since 2022-01-21
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cedap_user_auth")
public class UserAuthEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    private String userId;

    /**
     * 登录类型：1 手机号  2 邮箱  3 小程序  5 微信
     */
    private Integer identityType;

    /**
     * 唯一标识
     */
    private String identifier;

    /**
     * 密码凭证
     */
    private String credential;


}
